package com.pqtest.api.mapper;

import com.pqtest.api.entity.CollectionEntity;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface CollectionMapper {
    int del(int id);
    CollectionEntity getById(int id);
    int collect(CollectionEntity collectionEntity);
    int deCollect(CollectionEntity collectionEntity);
    int wrong(CollectionEntity collectionEntity);
    int deWrong(CollectionEntity collectionEntity);
}
